let tracing = [
  {
    path: '/productTracing',
    name: 'productTracing',
    component(resolve) {
      require(['../view/tracing/tracing/productTracing/ProductTracing'], resolve)
    },
    meta: {
      keepAlive: true,
      menuItem: 'productTracing',
      subMenu: 'tracing',
      rootDir: 'tracing',
      title: '产品追溯'
    }
  },
  {
    path: '/batchProcessTrace',
    name: 'batchProcessTrace',
    component(resolve) {
      require(['../view/tracing/tracing/batchProcessTrace/BatchProcessTrace'], resolve)
    },
    meta: {
      keepAlive: true,
      menuItem: 'batchProcessTrace',
      subMenu: 'tracing',
      rootDir: 'tracing',
      title: '周转进度追踪'
    }
  },
  {
    path: '/productResume',
    name: 'productResume',
    component(resolve) {
      require(['../view/tracing/tracing/productResume/ProductResume'], resolve)
    },
    meta: {
      keepAlive: true,
      menuItem: 'productResume',
      subMenu: 'tracing',
      rootDir: 'tracing',
      title: '产品履历'
    }
  },
  {
    path: '/workorderProgressTrace',
    name: 'workorderProgressTrace',
    component(resolve) {
      require(['../view/tracing/tracing/workorderProgressTrace/WorkorderProgressTrace'], resolve)
    },
    meta: {
      keepAlive: true,
      menuItem: 'workorderProgressTrace',
      subMenu: 'tracing',
      rootDir: 'tracing',
      title: '工单进度追踪'
    }
  }
]

export default tracing
